package org.dbwebx.flex.common.event
{

	import mx.collections.ArrayCollection;
	import mx.events.FlexEvent;
	
	import org.dbwebx.domain.Bundle;
	import org.dbwebx.domain.User;

	public class BundleEvent extends FlexEvent
	{
		
		public static  const B_FOUND_EVT:String = "Bundle:Found";
		
		public static  const B_LIST_LOADED_EVT:String = "Bundle:ListLoaded";
		
		public static  const B_LOADED_EVT:String = "Bundle:Loaded";
		
		public function BundleEvent(type:String)
		{
			super(type);
		}
		
		private var _bundle:Bundle;
		
		private var _bundles:ArrayCollection;
		
		public function get bundle():Bundle
		{
			return this._bundle;
		}
		
		public function set bundle(value:Bundle):void
		{
			this._bundle = value;
		}
		
		public function get bundles():ArrayCollection
		{
			return this._bundles;
		}
		
		public function set bundles(list:ArrayCollection):void
		{
			this._bundles = list;
		}
		
	}
}